/**
 * Created by zenglin on 2017/1/21.
 */
import java.util.Scanner;
public class javaOperator {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int number1 = input.nextInt();
        int copy = number1;
        int number2 = --number1;
        int number3 = copy--;
        System.out.println("Pre: "+number2 + " Last: " + number3 );
        //前置运算符和后置运算符的区别
    }
}
